home *** CD-ROM | disk | FTP | other *** search
/ FishMarket 1.0 / FishMarket v1.0.iso / fishies / 201-225 / disk_201 / draco / drinc / exec / ports.g < prev    next >
Text File  |  1992-05-06  |  667b  |  37 lines

  1. type
  2. „Node_t=unknown14,
  3. „List_t=unknown14,
  4.  
  5. „MsgPort_t=struct{
  6. ˆNode_tmp_Node;
  7. ˆshortmp_Flags;
  8. ˆshortmp_SigBit;
  9. ˆ*Task_tmp_SigTask;
  10. ˆList_tmp_MsgList;
  11. „};
  12.  
  13. byte
  14. „PF_ACTION‰=3,
  15.  
  16. „PA_SIGNAL‰=0,
  17. „PA_SOFTINTˆ=1,
  18. „PA_IGNORE‰=2;
  19.  
  20. type
  21. „Message_t=struct{
  22. ˆNode_tmn_Node;
  23. ˆ*MsgPort_tmn_ReplyPort;
  24. ˆuintmn_Length;
  25. „};
  26.  
  27. extern
  28. „AddPort(*MsgPort_tport)void,
  29. „CreatePort(*charname;shortpri)*MsgPort_t,
  30. „DeletePort(*MsgPort_tport)void,
  31. „FindPort(*charname)*MsgPort_t,
  32. „GetMsg(*MsgPort_tport)*Message_t,
  33. „PutMsg(*MsgPort_tport;*Message_tmsg)void,
  34. „RemPort(*MsgPort_tport)void,
  35. „ReplyMsg(*Message_tmsg)void,
  36. „WaitPort(*MsgPort_tport)*Message_t;
  37.